home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 60.zip / BS1 part 60 / Digital Sound Studio d1.adf / ARexx / offset.rexx < prev    next >
OS/2 REXX Batch file  |  1993-08-04  |  1KB  |  26 lines

  1. /* DSS8+ DC Offset Adjustment Script */
  2. /* by Bill Prescott 8/4/93             */
  3.  
  4. Options Results            /* Allows you to get result codes from the          */
  5.                         /* commands issued below.                          */
  6.  
  7. address "REXX_DSS8"        /* This defines where the rest of the script       */
  8.                         /* be talking to.                                  */
  9.  
  10. leveloffset 16            /* The number following "leveloffset" sets the   */
  11.                         /* sampler's reference level, which can be used  */
  12.                         /* to eliminate DC offset, and can be any        */
  13.                         /* integer from 1 to 33                          */
  14.  
  15. leveloffset                /* This line will get the current setting for    */
  16.                         /* the dc offset and place it in the variable    */
  17.                         /* "result".                                     */
  18.  
  19. lo=result                /* Now we are making the variable "lo" equal to  */
  20.                         /* output of the above result so that the next   */
  21.                         /* result won't overwrite the one that we need.  */
  22.  
  23. say lo                    /* This just prints the variable "ff" to the     */
  24.                         /* screen so that you know that the filter has      */
  25.                         /* been set to the requested setting.             */
  26.